package com.example.landlord.demo.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class Pages {

    @GetMapping("/")
    public ModelAndView getLogin(){
        ModelAndView modelAndView=new ModelAndView("login.html");
        return modelAndView;
    }
}